<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
  <div class="h" style="">
  <a href="{:U('add')}" class="btn btn-info"><i class="glyphicon glyphicon-plus"></i>提现设置</a> 

  
  
    <form action="{:U('index')}" method="get" class="fr form-inline">
      
      
      
      
      
      
      
      <select name="status" id="status" class="form-control">
          <option value="">全部状态</option> 
         <option <eq name="status" value="0">selected="selected"</eq> value="0">未审核</option>
            <option <eq name="status" value="1">selected="selected"</eq> value="1">已审核</option>
            <option <eq name="status" value="2">selected="selected"</eq> value="2">已取消</option>
            <option <eq name="status" value="3">selected="selected"</eq> value="3">已完成</option>
        </select>

        <select name="hbstatus" id="hbstatus" class="form-control">
          <option value="">提现类型</option> 
         <option <eq name="hbstatus" value="0">selected="selected"</eq> value="2">积分提现</option>
            <option <eq name="hbstatus" value="1">selected="selected"</eq> value="1">大额提现</option>
        </select>

      <select name="getExcel" id="getExcel" class="form-control">
          <option value="">查看列表</option> 
         
            <option value="1">导出Excel</option>
            
        </select>
      　
      
      时间：<input class="form-control" type="text" onclick="WdatePicker();" name="stime" value="{$stime}" /> 至 <input class="form-control" type="text" onclick="WdatePicker();" name="etime" value="{$etime}" />
      
        
        <input type="hidden" name="pagesize" value="{$pagesize}" />
        
        <button type="submit" class="btn btn-default">确定</button>
      </form>
      
      <div style="clear:both;"></div>
      
      
 </div>

<div class="table_" style=""><table class="table table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0">
     
     
    
 <thead>
 <tr>
    <td align="center">ID</td>
    <td align="center">提现说明</td>
    <td align="center">金额</td>
    <td align="center">状态</td>
    <td align="center">提现类型</td>
    <td align="center">申请时间</td>
    <td align="center">操作</td>
  </tr>
</thead>
<volist name="list" id="vo">
  <tr class="data_list">
    <td align="center"><input type="checkbox" name="id" id="id" class="sall" value="{$vo.id}" />{$vo.id}</td>
    <td>{$vo.remark}</td>
    
    <td align="center"><span style="color:#f00;">¥{$vo.changenum}</span></td>
    <td align="center"><if condition="$vo.status eq 0">待审核<elseif condition="$vo.status eq 1"/>已审核<elseif condition="$vo.status eq 2"/>已取消<elseif condition="$vo.status eq 3"/><span style="color:#29CC64; font-weight:bold;">已完成</span></if></td>
    <td align="center"><if condition="$vo.hbstatus eq 2">积分提现<elseif condition="$vo.hbstatus eq 1"/>大额提现</if></td>
    <td align="center">{$vo.dateline|date='Y-m-d',###}</td>
    
    <td align="center">
     <a class="btn btn-warning btn-xs" href="{:U('find_detail',array('id'=>$vo['id']))}">查看</a>
   <!-- <if condition="$vo.hbstatus eq 1">-->
       
      
    <!-- </if>--> 
       <if condition="$vo.status neq 1">
      <a class="btn btn-success btn-xs" href="{:U('is_detail',array('id'=>$vo['id']))}" onclick="return confirm('请确认提现');">确认</a>
       </if>
      <if condition="$vo.status neq 2">
       
      <a href="{:U('exit_detail',array('id'=>$vo['id']))}" class="btn btn-danger btn-xs" onclick="return confirm('请确认取消提现');">取消</a>
     </if>
       
      <if condition="$vo.status eq 1">
      <if condition="$vo.hbstatus eq 0">
 
      <a href="{:U('hongbao',array('id'=>$vo['id']))}" class="btn btn-success btn-xs" onclick="return confirm('请确认是否红包发放');">红包发放</a>
      </if>
      </if>
      
      
      </td>
  </tr>
</volist>
    
</table>

<div class="pages">
        <div class="controlList fl">
        
         
        <a href="javascript:void(0);" class="btn btn-primary btn-sm" onclick="sall();"><i class="glyphicon glyphicon-check"></i> 全选/反选</a> <a href="javascript:void(0);" class="btn btn-primary btn-sm" onclick="rall();"><i class="glyphicon glyphicon-unchecked"></i> 全不选</a>  
        
        </div>
        <form class="fr" style="display:inline;" id="pagesize" action="" method="get">
         <label class="form-inline"> 每页
          <select name="pagesize" onchange="document.getElementById('pagesize').submit();" class="form-control">
            <option 
            <eq name="pagesize" value="10">selected="selected"</eq>
             value="10">10
            </option>
            <option 
            <eq name="pagesize" value="20">selected="selected"</eq>
             value="20">20
            </option>
            <option 
            <eq name="pagesize" value="30">selected="selected"</eq>
             value="30">30
            </option>
            <option 
            <eq name="pagesize" value="50">selected="selected"</eq>
             value="50">50
            </option>
            <option 
            <eq name="pagesize" value="100">selected="selected"</eq>
             value="100">100
            </option>
            <option 
            <eq name="pagesize" value="500">selected="selected"</eq>
             value="500">500
            </option>
          </select>
          条</label>
          <input type="hidden" name="category_id" value="{$category_id}" />
          <input type="hidden" name="keywords" value="{$keywords}" />
        </form>
        <div class="fr">{$pages}</div>
      </div>


</div>

  </div>
  <div class="clear"></div>
</div>


<include file="Public:footer" />